$Process=Start-Process -FilePath git -ArgumentList "$args" -PassThru -Wait -NoNewWindow
exit $Process.ExitCode